From 186beee4f54f977fe4fe02aa871a809a7b10e568 Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Fri, 29 Jun 2012 16:13:36 -0500 Subject: [PATCH] Don't copy .git to build trees. --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 70188ae76bf..61c8cdf9be1 100755 --- a/debian/rules +++ b/debian/rules @@ -337,7 +337,7 @@ confflags_lucid += --without-gconf define cfg_tree rm -rf $(1) mkdir $(1) - cp -a $$(ls -A | grep -v '^debian$$' | grep -v '^.pc$$') "$(1)" + cp -a $$(ls -A | egrep -v '^(\.git|\.pc|debian)$$') "$(1)" cd $(1) && CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" ./configure $(confflags) $(2) endef -- 2.30.2